package com.chukun.concurrency.singleton;

import com.chukun.concurrency.annotations.ThreadSafe;

/**
 * 使用静态代码块创建单例对象,不会有线程安全的问题
 */
@ThreadSafe
public class SingletonBuilder6 {

    private SingletonBuilder6(){}

    private static SingletonBuilder6 instance;

    static {
        instance = new SingletonBuilder6();
    }




}
